import axios from 'axios'
export function verifyPhone(phone) {//验证电话
  return axios({
    method: 'post',
    url: '/regist/verify_phone',
    data: {
      phone,
    },
  })
}
export  function verifyCode(phone, code) {//
  return axios({
    method:'post',
    url:'./regist/verify_code',
    data:{
      phone,
      code,
    }
  })
}
//导出账号密码
export function registe(phone,password) {
  return axios({
      method:'post',
      url:'/regist/user',
      data:{
        phone,
        password
      },
  })
}

